package com.gui.registration.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gui.registration.model.RegistrationRecord;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author 言叶
 * Date：2025/9/3
 */

public interface RegistrationMapper extends BaseMapper<RegistrationRecord> {
    @Select("SELECT * FROM tb_registration_record WHERE user_id = #{userId}")
    List<RegistrationRecord> getByUserId(Integer useId);
}
